package cn.edu.dzkd.software.controller;


import cn.edu.dzkd.software.service.SecurityHoleService;
import org.springframework.web.bind.annotation.*;

import javax.annotation.Resource;
import java.util.Map;

@RestController
@RequestMapping("/hole")
public class SecurityHoleController {

    @Resource
    private SecurityHoleService securityHoleService;

    @RequestMapping(value = "/selectHoles", method = RequestMethod.GET)
    public Map<String, Object> selectHoles() {
        return securityHoleService.selectSecurityHoles();
    }
}



